package org.stvd.repository.workflow.impl;

import java.util.List;

import org.springframework.stereotype.Repository;
import org.stvd.entities.workflow.WfLogsAffix;
import org.stvd.repository.base.impl.BaseDaoImpl;
import org.stvd.repository.workflow.WfLogsAffixDao;

@Repository("WfLogsAffixDao")
public class WfLogsAffixDaoImpl extends BaseDaoImpl<WfLogsAffix> implements WfLogsAffixDao {

    public List<WfLogsAffix> findByLogId(Long logId) {
        return findByHQL("from WfLogsAffix where logId = ?0 order by id asc", logId);
    }

}
